Skip to content

CI: install GLib/GStreamer dev packages for Rust build job - #24

Merged
kulpae merged 2 commits into
masterfrom
copilot/fix-github-actions-build-job
Aug 28, 2026
Merged

CI: install GLib/GStreamer dev packages for Rust build job#24
kulpae merged 2 commits into
masterfrom
copilot/fix-github-actions-build-job

Conversation

Copilot AI commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

The build GitHub Actions job failed because the Rust dependency chain (glib-sys via default GStreamer backend) requires system GLib metadata (glib-2.0.pc), which was not available on the runner. This PR updates the workflow to provision required Linux packages before cargo build/cargo test.

  • Root cause

    • glib-sys custom build script invokes pkg-config for glib-2.0 and exits when glib-2.0.pc is missing.
  • Workflow change

    • Added a dependency install step in .github/workflows/rust.yml before build/test.
    • Installs:
      • pkg-config
      • libglib2.0-dev
      • libgstreamer1.0-dev
  • Patch shape (minimal)

    - name: Install system dependencies
      run: sudo apt-get update && sudo apt-get install -y \
        pkg-config libglib2.0-dev libgstreamer1.0-dev

Co-authored-by: kulpae <64304+kulpae@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job build CI: install GLib/GStreamer dev packages for Rust build job Aug 28, 2026
Copilot AI requested a review from kulpae August 28, 2026 18:24

@kulpae kulpae left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@kulpae
kulpae marked this pull request as ready for review August 28, 2026 18:27
@kulpae
kulpae merged commit 4001e43 into master Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants